package com.mercury.article.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zwn
 * @since 2021-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("home_article_detail")
@ApiModel(value="HomeArticleDetail对象", description="")
public class HomeArticleDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "文章id  外键")
    @TableId(value = "article_id", type = IdType.ID_WORKER)
    private String articleId;

    @ApiModelProperty(value = "文章内容")
    private String articleContent;

    @ApiModelProperty(value = "是否删除 0未删除 1删除")
    @TableLogic
    private Boolean deleted;


}
